import Vue from "vue";
import App from "./App.vue";
import ECharts from "vue-echarts";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
// import "./plugins/element.js
import "./assets/css/normalize.css";

// 引入 echarts 组件
import "echarts";

// postcss-pxtorem
import "./plugins/rem.js";
import axios from "axios";
import VueAxios from "vue-axios";

// 引入 Vuex
import store from "./store";

Vue.use(VueAxios, axios);
Vue.config.productionTip = false;
Vue.component("v-chart", ECharts);
Vue.use(ElementUI);
Vue.prototype.$echarts = ECharts; //引入组件

new Vue({
  store,
  render: function(h) {
    return h(App);
  }
}).$mount("#app");
